home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 2003 June / macformat-130.iso / mac / Reviewed⁄Demos / Spearhead Demo / demota / pak1.pk3 / scripts / jeep.shader < prev    next >
Encoding:
Text File  |  2002-10-21  |  2.2 KB  |  99 lines

  1. jeep
  2. {
  3.     qer_editorimage textures/models/vehicles/jeep/jeep.tga
  4.     cull none    // Makes it double-sided, not sure if this is needed.
  5.     {
  6.         map textures/models/vehicles/jeep/jeep.tga
  7.         rgbGen lightingSpherical
  8.     }
  9. }
  10. jeeptredz
  11. {
  12.     qer_editorimage textures/models/vehicles/jeep/jeeptredz.tga
  13.     noMerge
  14.     cull none    // Makes it double-sided, not sure if this is needed.
  15.     {
  16.         map textures/models/vehicles/jeep/jeeptredz.tga
  17.         //rgbGen lightingSpherical
  18.         tcmod scroll fromEntity 0
  19.     }
  20. }
  21. jeepwheelz
  22. {
  23.     qer_editorimage textures/models/vehicles/jeep/jeepwheelz.tga
  24.     noMerge
  25.     cull none    // Makes it double-sided, not sure if this is needed.
  26.     {
  27.         map textures/models/vehicles/jeep/jeepwheelz.tga
  28.         tcmod rotate fromEntity 0 2
  29.         // fromEntity
  30.         //rgbGen lightingSpherical
  31.     }
  32. }
  33. jeepwindow
  34. {
  35.     qer_editorimage textures/models/vehicles/jeep/jeepwindow.tga
  36.     cull none
  37.     {
  38.         map textures/common/reflection1.tga
  39.         rgbGen lightingSpherical
  40.         tcgen environmentmodel
  41.         alphaGen const 0.05
  42.         blendFunc blend
  43.     }
  44.     {
  45.         map textures/models/vehicles/jeep/jeepwindow.tga
  46.         rgbGen lightingSpherical
  47.         blendFunc blend
  48.     }
  49. }
  50.  
  51. static_jeep
  52. {
  53.     qer_editorimage textures/models/vehicles/jeep/jeep.tga
  54.     cull none    // Makes it double-sided, not sure if this is needed.
  55.     {
  56.         map textures/models/vehicles/jeep/jeep.tga
  57.         rgbGen static
  58.     }
  59. }
  60. static_jeeptredz
  61. {
  62.     qer_editorimage textures/models/vehicles/jeep/jeeptredz.tga
  63.     noMerge
  64.     cull none    // Makes it double-sided, not sure if this is needed.
  65.     {
  66.         map textures/models/vehicles/jeep/jeeptredz.tga
  67.         //rgbGen lightingSpherical
  68.         tcmod scroll fromEntity 0
  69.     }
  70. }
  71. static_jeepwheelz
  72. {
  73.     qer_editorimage textures/models/vehicles/jeep/jeepwheelz.tga
  74.     noMerge
  75.     cull none    // Makes it double-sided, not sure if this is needed.
  76.     {
  77.         map textures/models/vehicles/jeep/jeepwheelz.tga
  78.         tcmod rotate fromEntity 0 2
  79.         // fromEntity
  80.         //rgbGen lightingSpherical
  81.     }
  82. }
  83. static_jeepwindow
  84. {
  85.     qer_editorimage textures/models/vehicles/jeep/jeepwindow.tga
  86.     cull none
  87.     {
  88.         map textures/common/reflection1.tga
  89.         rgbGen static
  90.         tcgen environmentmodel
  91.         alphaGen const 0.05
  92.         blendFunc blend
  93.     }
  94.     {
  95.         map textures/models/vehicles/jeep/jeepwindow.tga
  96.         rgbGen static
  97.         blendFunc blend
  98.     }
  99. }